const mongoose = require('mongoose')

let typeSchema = new mongoose.Schema({
    name:{
        type:String,
        required:true,
        unique:true
    },
    breed:{
      type:Array,
      required:true
    }

})

module.exports = mongoose.model('type',typeSchema,'type')